feat: add durable Activity history and print compatibility - #546
Open
lidge-jun wants to merge 80 commits into
Open
feat: add durable Activity history and print compatibility#546lidge-jun wants to merge 80 commits into
lidge-jun wants to merge 80 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
(cherry picked from commit c774a5c)
(cherry picked from commit 1f96bcd)
(cherry picked from commit 4b158d4)
(cherry picked from commit c1a490f)
(cherry picked from commit 93a2a76)
(cherry picked from commit 3c90998)
(cherry picked from commit c415b2f)
(cherry picked from commit 18a7a70)
(cherry picked from commit ab77cb9)
(cherry picked from commit 21debba)
(cherry picked from commit 72485e1)
(cherry picked from commit 9c61993)
lidge-jun
force-pushed
the
codex/native-activity-02
branch
from
September 6, 2026 22:35
ef1fb23 to
ba9c0fb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Activity history now survives reconnects and server restarts through a bounded journal in the existing trace store. Trace admission captures the owning chat and execution scope; replay and raw reads enforce that ownership, including historical backfills and forked pointers.
Print runtimes observe accepted message/tool updates while the existing lifecycle continues to select and deliver final answers. Journal, link, and observer failures preserve successful message writes and existing send/retry behavior. Display-only settings default to Activity and retain explicit legacy mode without execution side effects.
Native Cursor main now uses the same captured chat/scope ownership at its fifth trace admission. The published parent is integrated by normal merges, including its gateway behavior regression follow-up.
Validation: 792 focused tests across 60 explicitly selected files passed after cascade, plus the parent follow-up checks. Root/frontend typechecks and builds, assets, strict baseline and 487 documentation counts passed. Owned Node Cursor fixtures exercise real factory/protocol/pool/lifecycle -> SQLite journal -> loopback HTTP with multi-session on/off, exact-owner reads, copied-fork denial, fixed-through replay, and storage failure containment. Removing the owner fields makes the regression fail; restoring them passes. Independent Astra review found no remaining blockers.
Current head
43d05fc5bddd1eb941b5b1374effbc96c52eb262includes parentef1fb23bf125513fd9a595d46cded24c18107689. Its Tests and Postinstall Platform Checks both passed on this exact head. Final-head regression: 54 tests, typecheck and 487 documentation counts passed; broader 792 tests plus 24 parent follow-up checks observed the identical production tree. Earlier CI remains historical. The existing instance authentication policy remains unchanged.Stack: this backend layer targets #542 (
codex/native-activity-02); dependent Web/TUI consumers reuse the isolated owner patch and fixture commit. No PR merge, release or deployment.